export const handleMaxWidth = () => {
    let html = document.documentElement;
    let size = parseFloat(html.style.fontSize);
    console.log(size);
}

export const formatTime = time => {
    20221123
    var year = time.substring(0,4)
    var month = time.substring(4,6)
    var day = time.substring(6,8)
    return (year + '年' + month + '月' + day + '日')

}